﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
using System.Web.UI;

namespace ZhiAo.Management
{
    public class MyTextBox : IControl
    {
        TextBox txtBox = null;

        public MyTextBox(Control control)
        {
            txtBox = control as TextBox;
        }

        public string Value
        {
            get
            {
                return txtBox.Text;
            }
            set
            {
                txtBox.Text = value;
            }
        }
    }
}
